{extend name="public/base" /} {block name="body"}
 <div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>提现列表</strong></li>
	</ol>
</div>
<div class="ibox float-e-margins">
	{include file="cashmanage/top"}
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('index')}">
		<div class="row">
					<div class="form-group">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							用户名称<input type="text" id="real_name" name="real_name" value="" placeholder="请输入用户名称" class="bank" />
						
                     			提现类型<select name="type" class="bank">
                     				<option value="0">请选择提现类型</option>
                                    <option value="1">T+0</option>
                                    <option value="2">T+1</option>
                                    <option value="3">T+2</option>
                                </select>
                           
                     			提现状态<select name="cash_status"  class="bank">
                     				<option value="0">请选择提现状态</option>
                                    <option value="1">处理中</option>
                                    <option value="2">提现成功</option>
                                    <option value="3">提现失败</option>
                                </select>
                          
								提现账户<select name="cash_type" class="bank">
                     				<option value="0">请选择提现账户</option>
                                    <option value="1">银行卡</option>
                                    <option value="2">支付宝</option>
                                    <option value="3">微信支付</option>
                                </select>
								<span class="bank"><button type="submit" class="btn btn-sm btn-primary"> 查询</button><a href="{:url('dc')}" class="btn btn-primary btn-outline">导出提现列表</a> </span>
							
					</div>              
        </div>
        </form>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                            	<th>提现人</th>
                                <th>电话</th>
                                <th>提现金额</th>
                                <th>用户类型</th>
                                <th>提现账户</th>
                                <th>提现类型</th>
								<th>实际到账金额</th>
                                <th>手续费</th>
                                <th>状态</th>
                                <th>申请时间</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list" id='ad'}
                        	<tr>
                        		<td>{$ad.real_name}</td>
                        		<td>{$ad.mobile}</td>
                        		<td>{$ad.balance}</td>
                        		<td>
                        			{if $ad.user_type == 1}
                        			普通用户
                        			{elseif $ad.user_type == 2}
                        			商户
                        			{else}
                        			总代理	
                        			{/if}
                        		</td>
                        		<td>
                        			{if $ad.cash_type == 1}
                        			银行卡
                        			{elseif $ad.cash_type == 2}
                        			支付宝
                        			{else}
                        			微信支付	
                        			{/if}
                        			{$ad.message}
                        		</td>
                        		<td>
                        			{if $ad.type == 1}
                        			T+0
                        			{elseif $ad.type == 2}
                        			T+1
                        			{else}
                        			T+2
                        			{/if}
                        		</td>
                        		<td>{$ad.actual_balance}</td>
                        		<td>{$ad.counter_fee}</td>
                        		<td>
                        			{if $ad.cash_status == 1}
                        			处理中
                        			{elseif $ad.cash_status == 2}
                        			提现成功
                        			{else}
                        			提现失败
                        			{/if}
                        		</td>
                        		<td>{$ad.createtime}</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                      {$list->render()}
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__JS__/jquery.form.js"></script>
<script src="__LIB__/validate/jquery.validate.min.js"></script>
<script src="__LIB__/validate/messages_zh.min.js"></script>
<script src="__LIB__/validate/add_validate.min.js"></script>
<script src="__LIB__/fileinput/js/fileinput.min.js"></script>
<script src="__LIB__/fileinput/js/locales/zh.js"></script>
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
	//顶部导航
	$("#li-bar-index").addClass("active");
</script>
<style>
.bank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}